package com.xzavier.yunlian_interview.service;

import com.xzavier.yunlian_interview.entity.QuestionItem;
import com.xzavier.yunlian_interview.entity.QuestionRecord;

import java.util.List;

public interface QuestionRecordService {
    public QuestionRecord addQuestionRecord(String userId, String questionId);

    public void OptQuestionRecord(String userId, String questionId, Integer opt);

    public void CollectQuestionRecord(String userId, String questionId, Integer opt);

    public List<QuestionItem> getReadFlag(String userId);

    public void deleteQuestionRecord(String userId, String questionId);

    public void deleteQuestionRecord(String userId);

    public List<QuestionItem> getLikedQuestionRecord(String userId);

    public List<QuestionItem> getCollectQuestionRecord(String userId);
}
